package net.blogways.ordermgr.util;

/**
 * @author zhangshaoyong
 *         Created on 2017/10/18.
 */
public class RescodeConstants {

  /**
   * 参数为空编码
   */
  public static final String PARAME_IS_NULL = "0001";

  /**
   * 插入新增失败.
   */
  public static final String INSERT_FAIL = "0002";

  /**
   * 修改失败.
   */
  public static final String UPDATE_FAIL = "0003";

  /**
   * 删除失败
   */
  public static final String DELETE_FAIL = "0004";

  /**
   * 异步操作失败.
   */
  public static final String ASYNC_FAIL_CODE = "0005";

  /**
   * 同步操作失败.
   */
  public static final String SYNC_FAIL = "0006";

  /**
   * 查询
   */

  /**
   * 不存在operate_code.
   */
  public static final String OPERATE_CODE_IS_NULL = "0008";

  /**
   * 获取ID失败.
   */
  public static final String GEN_TICKET_FAIL = "0104";


  /**
   * 查询操作失败
   */
  public static final String SELECT_FAIL = "0103";


  //用户名存在
  public static final String INT_ACCT_RATEPLAN_FAIL = "4001";

  //用户名存在
  public static final String USER_IS_EXISTS = "9000";

  //用户名为空
  public static final String USER_NAME_IS_NULL = "9001";

  //用户不存在
  public static final String USER_IS_NOT_EXISTS = "9002";

  //用户不可用
  public static final String USER_IS_DISABLE = "9003";

  //用户已锁定
  public static final String USER_IS_LOCKING = "9004";

  //该工号所属账户已被禁用
  public static final String ACCT_IS_DISABLE = "9007";

  //操作员工号所属账户不能为空
  public static final String ACCT_ID_IS_NULL = "9008";

  //账户应用程序出错
  public static final String ACCT_APPLICATION_IS_ERROR = "9009";

  //无法查询该账户
  public static final String CANNOT_QUERY_THIS_ACCT = "9010";

  /**
   * 用户IP不可用
   */
  public static final String USERIP_IS_DISABLE = "9010";

  //调用密码过期失败
  public static final String PASSWORD_Expiration = "9018";

  //更新用户最后一次登录时间
  public static final String UPDATE_LAST_LOGIN_TIME_ERROR = "9100";

  //参数错误
  public static final String PARAM_FORMAT_ERROR = "1001";

  //文件上传参数个数与模板所需个数不一致
  public static final String UPLOAD_PARAM_NUM_ERROR = "1002";

  //SIM卡文件上传格式不正确
  public static final String FILE_FORMAT_ERROR = "1003";

  //下级分销账户不存在
  public static final String DISTRIBUTION_ACCT_ID_NULL = "1004";

  //父级账户ID不匹配
  public static final String PARENT_ACCT_ID_NOT_MATCH = "1005";

  //参数封装错误
  public static final String HANDLE_LINE_ERROR = "1006";

  // 查询包含非法字符
  public static final String ILLEGAL_CHARACTER = "1007";

  //主资费不存在
  public static final String MAIN_RATE_NOT_EXIST = "1008";

  //价格不合法
  public static final String PRICE_ILLAGE = "1009";

  //加餐资费不存在
  public static final String ADD_RATE_NOT_EXIST = "1010";

  //没有符合条件的SIM可进行转移
  public static final String NO_SIM_TRANFER = "1011";

  //登记支付回调错误失败
  public static final String RESGISTER_CALLBACK_ERROR_FAIL = "1012";

  //支付订购不存在
  public static final String PAY_ORDER_NOT_EXIST = "1013";

  //api 电话已颁发认证

  public static final String API_AWARD = "2002";

  //参数异常
  public static final String PARAMES_EXECPTION = "E005";

  //邮件异常
  public static final String EMAIL_EXECPTION = "E006";



}
